import React from "react"
import { View } from "@tarojs/components"

export const statusData = {
  0: {
    name: "待确认",
    color: "#2E6BB9",
    button: <View className="order-list-btn">待确认</View>,
  },
  1: {
    name: "待支付",
    color: "#2E6BB9",
    button: (
      <View className="order-list-btn" style={{ background: "#B32D2D", color: "#fff" }}>
        去支付
      </View>
    ),
  },
  2: {
    name: "待穿线",
    color: "#2E6BB9",
    button: <View className="order-list-btn">待穿线</View>,
  },
  3: {
    name: "待取拍",
    color: "#2E6BB9",
    button: (
      <View className="order-list-btn" style={{ background: "#2E6BB9", color: "#fff" }}>
        确认取拍
      </View>
    ),
  },
  4: {
    name: "已完成",
    color: "#000000",
  },
  5: {
    name: "已取消",
    color: "#000000",
  },
}
